using System;
namespace ODSearchEngine
{
	public class SearchHit
	{
		public string ID { get; set; }
		public float Score { get; set; }
		public string KeyHit { get; set; }
		public uint[] HitRanges { get; set; }
		
		internal SearchHit ()
		{
			
		}
		
		internal SearchHit(string id, float score, string keyHit, uint [] hitRanges)
		{
			this.ID = id;
			this.Score = score;
			this.KeyHit = keyHit;
			this.HitRanges = hitRanges;
		}		
		
		public override string ToString ()
		{
			return string.Format ("[SearchHit: ID={0}, KeyHit={1}]", ID, KeyHit);
		}
	}
}

